package com.hyt.it.ogt.kq.common.gov.utils;

import java.time.format.DateTimeFormatter;

/**
 * @author 刘恒活
 * @since 2021/9/26 15:34
 */
public class Constants {
    public static final String PUSH_TYPE_INSERT = "insert";
    public static final String PUSH_TYPE_UPDATE = "update";
    public static final String PUSH_TYPE_DELETE = "delete";
    public static final DateTimeFormatter YMD = DateTimeFormatter.ofPattern("yyyy-MM-dd");
    public static final DateTimeFormatter HM = DateTimeFormatter.ofPattern("HH:mm");
    public static final String PHOTO = "Photoes";
    public static final String JPG = ".jpg";
    public static final String XML = "KWPack.xml";
    public static final String ZIP = ".zip";
    public static final String SEP = "_";
    public static final String JKP = ".JKP";
    public static final String ROOM_DATA = "/roomData/";
    /**
     * 证券考试系统--禁用了(暂时不要设置成OBT)
     */
    public static final String OBT = "OBT_NO";
    /**
     * 机构级别最小值
     */
    public static final int OFFICE_LEVEL_MIN = 0;
    /**
     * 机构级别最大值
     */
    public static final int OFFICE_LEVEL_MAX = 2;

    public static final String AGREEMENT_START = "<html><head><meta http-equiv=\"content-type\" content=\"txt/html; charset=utf-8\" /><script>window.onload= function(){window.parent.postMessage({ load: true }, '*')}</script></head><body>";
    public static final String AGREEMENT_END = "</body></html>";
}
